package com.wjn.wjnpicturebackend.controller;

import com.wjn.wjnpicturebackend.common.BaseResponse;
import com.wjn.wjnpicturebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/")
public class MainController {
    @GetMapping("/hello")
    public BaseResponse<String> hello() {
        return ResultUtils.success("hello world");
    }

}
